From: Glenn Morris Date: Wed, 4 Jul 2012 10:17:38 +0000 (-0400) Subject: Auto-commit of generated files. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2326^2~1883 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1a9746debdc8965edd84d27537ef9c55511ea04e;p=emacs.git Auto-commit of generated files. --- diff --git a/autogen/configure b/autogen/configure index 9634fe55ec1..47c21af749d 100755 --- a/autogen/configure +++ b/autogen/configure @@ -7157,6 +7157,12 @@ fi nw="$nw -Wsuggest-attribute=const" nw="$nw -Wsuggest-attribute=pure" + # Some loops can't be optimized with -O1, + # so remove -Wunsafe-loop-optimizations. + if echo "$CFLAGS" | $EGREP 'O1' 1>/dev/null; then + nw="$nw -Wunsafe-loop-optimizations" + fi + if test -n "$GCC"; then